<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>网盘的回收列表</title>
<script type="text/javascript">
	window.onload = a;
	function a() {
		$("ul li:eq(3)").addClass("active");
	}
</script>
</head>
<body class="container">
	<form action="" id="fm">
		<div>
			<div>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<!-- <button type="button" class="btn btn-default" onclick="download()">下载</button> -->
				<button type="button" class="btn btn-default" onclick="delFile()">删除</button>
			<%-- 	<center><h4>回收列表</h4></center> --%>
			</div>
			<table class="table table-striped">
				<thead>
					<tr >
						<th><input type="checkbox" onclick="selectAll()"
							id="SelectAll" /></th>
						<th>编号</th>
						<th>文件名称</th>
						<th>上传时间</th>
						<!-- <th></th> -->
						<th>文件大小</th>
						<!-- <th>UUID</th> -->
						<th >&nbsp;&nbsp;操&nbsp;&nbsp;作</th>
						
					</tr>
				</thead>
				<tbody>
					<c:forEach var="diskFile" items="${diskFileList}"
						varStatus="status">
						<tr>
							<td><input type="checkbox" class="checkItem" /></td>
							<td>${status.index+1}</td>
							<td>${diskFile.fileName}</td>
							<td>${diskFile.uploadDate}</td>
							<td style="display: none;" id="fileUuid">${diskFile.uuid }</td>
							<td>${diskFile.fileSize}</td>
							<td>
								<button type="button" class="btn btn-info btn-xs"
									onclick="javascript:window.location.href='/disktalk/file/download?ids=${diskFile.uuid }'">下载</button>
<%--
							<td style="display: none;" id="fileUuid">${diskFile.uuid }</td>
--%>
							<td>
								<button type="button" class="btn btn-info btn-xs"
									onclick="javascript:window.location.href='/disktalk/file/reduction?ids=${diskFile.uuid }'">还原</button>
						</tr>
					</c:forEach>
				</tbody>

			</table>
		</div>

	</form>
</body>
</html>